﻿@inherits ViewPage

<h1>Render Partial Examples</h1>
    
<h2>GetReqstar from Partial</h2>
   
@Html.Partial("GetReqstar", 
    base.Gateway.Send(new GetReqstar { Id = 1 }))
    
<h2>GetReqstar from RenderAction</h2>
    
@Html.RenderAction("/reqstars/1")
    
<h2>GetReqstar from RenderAction (View: CustomReqstar)</h2>
    
@Html.RenderAction("/reqstars/1", "CustomReqstar")

<!--view:PartialExamples.cshtml-->